package com.ruoyi.common.config;

import cn.hutool.core.util.StrUtil;

/**
 * @author houfy
 * @date 2023/1/15 10:25
 */
public class RedisKeys {
  public static String getHourMapKey(int index) {
    return StrUtil.format("spin{}:flag:hour-map", index);
  }

  public static String getDayMapKey(int index) {
    return StrUtil.format("spin{}:flag:day-map", index);
  }
}
